package com.example.demo.scheduled;

/**
 * 多线程实体类
 */
public abstract class ScheduleTask implements Runnable {
    private Integer id;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public ScheduleTask(Integer id) {
        this.id = id;
    }

    @Override
    public abstract void run();
}
